home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 028.dms / 028.adf / Commands_List / Shell_Management / CD < prev    next >
Encoding:
Text File  |  1993-08-08  |  1.0 KB  |  27 lines

  1. Command Name : CD
  2.  
  3. Function : Set, change or display the current directory
  4.  
  5. Arguments : [<dir|pattern>]
  6.  
  7. Location : Kickstart ROM
  8.  
  9. This command sets the directory you mean when no path is specified.  The
  10. Path function sets a list of drawers to look in, but CD is the first place
  11. AmigaDOS looks for ommands.  If you typed "Oranges" at the CLI prompt, the
  12. first place it would look is inthe current directory.  It is useful when 
  13. using long directory paths.  Instead of typing "run SYS:Utilities/EnvPrint"
  14. you could CD to "SYS:Utilities" then type EnvPrint.  This has the addes 
  15. bonus that any other file in that directory could be accessed.  You don't 
  16. even have to type CD - just typing the irectory path has the same effect.
  17. CD / moves you out of the current drawer and into the last, until the root
  18. directory is reached.  CD shows the current directory and you can even use
  19. pattern matching (see wildcards) to save you typing!
  20.  
  21. Examples
  22.  
  23. CD Df1:Work
  24.  
  25.         Makes the work drawer on the disk in drive 1 the current directory
  26.  
  27.